package com.dongdongshop.service;

import com.dongdongshop.page.PageResult;
import com.dongdongshop.pojo.TbContentCategory;

import java.util.List;

public interface TbContentCategoryService {
    PageResult<TbContentCategory> listCategroy(Integer pageNum, Integer pageSize, String name);

    void addCategroy(TbContentCategory category);

    TbContentCategory selectCatgoryById(Long id);

    void updateCategroy(TbContentCategory category);

    void deleteCategorys(Long[] ids);

    List<TbContentCategory> getCategroys();
}
